/** 公共接口 **/
import { base_url } from '../request.config';

const commonApi = {
  thanos_tree: 'thanos/menu/tree', // 获取菜单
};

const common: any = Object.keys(commonApi)
  .reduce((origin, item) => {
    origin[item] = `${base_url}/${commonApi[item]}`;
    return origin;
  }, {})

export default common;
